namespace nu.Commands
{
    public class AliasCommand : Command
    {
        private readonly string _alias;
        private ICommand _inner;

        public AliasCommand(string alias, ICommand inner)
        {
            _alias = alias;
            _inner = inner;
        }

        public string Alias
        {
            get { return _alias; }
        }

        public override void Execute()
        {
            _inner.Execute();
        }
    }
}